//package com.juhuixing.es.server.persistence.entity;
//
//import com.juhuixing.es.server.constant.ConstParameter;
//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.NoArgsConstructor;
//import org.springframework.data.annotation.Id;
//import org.springframework.data.elasticsearch.annotations.Document;
//import org.springframework.data.elasticsearch.annotations.Field;
//import org.springframework.data.elasticsearch.annotations.Mapping;
//import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
//
///**
// * @ClassName boss
// * @Description TODO
// * @Author 刘猛
// * @Date 2019/4/26 11:08
// **/
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
//@Document(indexName = "room",type = "boss", shards = 1,replicas = 0, refreshInterval = "-1")
//@Mapping(mappingPath = ConstParameter.ENTITY_MAPPING_PATH_PREFIX + "Boss.json")
//public class Boss {
//    @Id
//    private String id;
//    @Field
//    private String boss_name;
//    @Field
//    private Integer age = 0;
//    @Field
//    private String about;
//}
